# -*- coding:UTF-8 -*-
import util

tmpImg ="screen_img.png"
rootPath=util.get_rootpath()
tmpPath=util.mkdir(rootPath+"/tmp/")
imgPath=util.mkdir(rootPath+"/img/")
logPath=util.mkdir(rootPath+"/log/")
devPath=util.mkdir(rootPath+"/dev/")

taofa={
    "taofa_start_select":{'x':[765,900],'y':[470,510],'time':5,'name':'[选择队伍]按钮'},
    "taofa_battle_start":{'x':[765,900],'y':[470,510],'time':5,'name':'[战斗开始]按钮'},
    "taofa_end_flag":{'x':[420,540],'y':[80,140],'time':5,'name':'[胜利结束标志]','is_end':1},
    "taofa_end_confirm":{'x':[830,875],'y':[470,510],'time':5,'name':'[胜利确认战果]按钮'},
    "taofa_restart":{'x':[765,900],'y':[470,510],'time':5,'name':'[重新开始]按钮'},
    "taofa_weak_energy":{'x':[475,600],'y':[375,400],'time':5,'name':'[体力不足]自动吃树叶'}
}
zhixian={
    "zhixian_start_select":{'x':[765,900],'y':[470,510],'time':5,'name':'[选择队伍]按钮'}
}
shuata={
    "taofa_start_select":{'x':[765,900],'y':[470,510],'time':5,'name':'[选择队伍]按钮'},
    "taofa_weak_energy":{'x':[475,600],'y':[375,400],'time':5,'name':'[体力不足]自动吃树叶'},
    "taofa_battle_start":{'x':[765,900],'y':[470,510],'time':5,'name':'[战斗开始]按钮'},
    "taofa_battle_start1":{'x':[765,900],'y':[470,510],'time':5,'name':'[战斗开始1]按钮'},
    "taofa_end_flag":{'x':[765,900],'y':[470,510],'time':5,'name':'[胜利结束标志]','is_end':1},
    # "taofa_end_confirm":{'x':[830,875],'y':[470,510],'time':5,'name':'[胜利确认战果]按钮'},
    # "taofa_restart":{'x':[765,900],'y':[470,510],'time':5,'name':'[重新开始]按钮'},
    
}
refreshshop={
    'paiqian_finish':{'x':[650,700],'y':[430,440],'time':0,"name":"[派遣确认]按钮"},
    "shop_refresh":{'x':[100,150],'y':[490,500],"time":0,'name':"[刷新商店]按钮"},
    'shop_confirm':{'x':[510,550],'y':[325,340],'time':0,"name":"[确认刷新]按钮"},
    'shop_shuqian':{'x':[850,900],'y':20,'time':0,"name":"[发现普通书签]"},
    'shop_shenmi':{'x':[850,900],'y':20,'time':0,"name":"[发现神秘书签]"},
    'shop_buy':{'x':[510,580],'y':[360,370],'time':0,"name":"[购买书签]"},
}
maoxian94={
    'paiqian_finish':{'x':[650,700],'y':[430,440],'time':1,"name":"[派遣确认]按钮"},
    "taofa_start_select":{'x':[765,900],'y':[470,510],'time':2,'name':'[选择队伍]按钮'},
    "taofa_weak_energy":{'x':[475,600],'y':[375,400],'time':1,'name':'[体力不足]自动吃树叶'},
    "taofa_battle_start":{'x':[765,900],'y':[470,510],'time':1,'name':'[战斗开始]按钮'},
    "taofa_battle_start1":{'x':[765,900],'y':[470,510],'time':1,'name':'[战斗开始1]按钮'},
    "maoxian_zhunbeizhandou":{'x':[770,800],'y':[491,510],'time':2,'name':'[准备战斗]按钮'},
    "taofa_end_flag":{'x':1,'y':1,'time':2,'name':'[胜利结束标志]'},
    # "maoxian_yaoshui":{'x':[40,100],'y':[20,51],'time':1,'name':'[弹出地图]按钮'},
    # "maoxian_mapheizhizhu":{'x':5,'y':5,'time':1,'name':'[点击跳转]按钮'},
    "maoxian_confirm":{'x':5,'y':5,'time':1,'name':'[点击确认]按钮'}
}
maoxian94Route={
    "0":{'x':2,'y':2,'time':1,'name':"[点击S方向]按钮",'img':"94south.png"},
    "1":{'x':2,'y':2,'time':1,'name':"[点击w方向]按钮",'img':"94west.png"},
    "2":{'x':2,'y':2,'time':1,'name':"[点击S方向]按钮",'img':"94south.png"},
    "3":{'x':2,'y':2,'time':1,'name':"[点击w方向]按钮",'img':"94west.png"},
    "4":{'x':[40,100],'y':[20,51],'time':1,'name':"[点击小地图]按钮",'img':"maoxian_yaoshui.png"},
    "5":{'x':2,'y':2,'time':1,'name':"[点击w方向]按钮",'img':"94west.png"},
    "6":{'x':2,'y':2,'time':1,'name':"[点击N方向]按钮",'img':"94north.png"},
}